/*
 * 
 * the basic types of the features
 * 
 * Created on March 26, 2010, 10:10 PM
 * Copyright (C) 2010 HIT-CIR
 */
package nlpeap.feature.basictypes;

/**
 * The Enum NumberType.
 * 
 * @author chuter
 */
public enum NumberType {
	
	/** The SINGLE. */
	SINGLE,
	
	/** The PLURAL. */
	PLURAL,
	
	/** The UNKNOWN. */
	UNKNOWN;
	
	/** Gets theGenderType by given a string ID */
    public static NumberType getFromString(String numberString)
    {
        for (NumberType number : NumberType.values())
        {
            if (numberString.equalsIgnoreCase(number.name()))
            { return number; }    
            
        }
         
        return null;
    }
}
